package com.csii.ams.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.csii.adhoc.info.user.UserVo;
import com.csii.ams.BusiDef;
import com.csii.ams.SearchBean;
import com.csii.ams.SystemBusi;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.usermodel.Workbook;

import java.io.File;
import java.util.List;

/**
 * @description:
 * @author: panChuanJiang
 * @create: 2021-03-18 09:36
 */
public interface BusiDefService {

    void insertBusiDef(BusiDef busiDef);

    void updateBusiDef(BusiDef busiDef);

    void deleteBusiDef(String id);

    IPage<BusiDef> queryPageBusiDef(BusiDef busiDef, Page<BusiDef> page);

    List<BusiDef> queryListBusiDef(BusiDef busiDef);

    Workbook queryDownLoadDetails(UserVo userVo, String busiCd);

    void submitReview(BusiDef busiDef);

    void updateReview(BusiDef busiDef);

    List<SystemBusi> selectAmsSystem();

    List<SystemBusi> selectListSystemBusi(List<String> sys);

    IPage<UserVo> searchUserByOrgId(SearchBean searchBean, Page<UserVo> page);
}
